package org.example.petsystem.service;

import org.example.petsystem.entity.ResultBody;

import java.util.List;
import java.util.Map;

public interface SearchService {
//    按照名称进行模糊查询
    ResultBody searchByName(Map<String,Object>map);
//    按照种类进行查询
    ResultBody searchByKind(Map<String,Object>map);
    //当传空值时，查询所有商品
    ResultBody search();
}
